<head>		
	<title>{:C('sitename')}</title>
    <meta property="qc:admins" content="23604025437671021661642636" />
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
	<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
	<link rel="stylesheet" href="__PUBLIC__/Home/css/pintuer.css">
	<link rel="stylesheet" href="__PUBLIC__/Home/css/my.css">
	<link rel="stylesheet" href="__PUBLIC__/Home/css/page_css.css">	
	<link rel="stylesheet" href="__PUBLIC__/Home/css/gotop.css" />
    <!--小飞机-->
    <link rel="stylesheet" href="__PUBLIC__/Home/css/plane.css" />

    <script src="__PUBLIC__/Home/js/jquery.js"></script>
	<script src="__PUBLIC__/Home/js/pintuer.js"></script>
	<script src="__PUBLIC__/Home/js/respond.js"></script>
	<script src="__PUBLIC__/Home/layer/layer.js"></script>
	<script src="__PUBLIC__/Home/js/gotop.js" ></script>
	<script src="__PUBLIC__/Home/js/jquery.touchSlider.js"></script>

<script type="text/javascript">
$(document).ready(function(){

	$(".main_visual").hover(function(){
		$("#btn_prev,#btn_next").fadeIn()
	},function(){
		$("#btn_prev,#btn_next").fadeOut()
	});
	
	$dragBln = false;
	
	$(".main_image").touchSlider({
		flexible : true,
		speed : 600,
		btn_prev : $("#btn_prev"),
		btn_next : $("#btn_next"),
		paging : $(".flicking_con a"),
		counter : function (e){
			$(".flicking_con a").removeClass("on").eq(e.current-1).addClass("on");
		}
	});
	
	$(".main_image").bind("mousedown", function() {
		$dragBln = false;
	});
	
	$(".main_image").bind("dragstart", function() {
		$dragBln = true;
	});
	
	$(".main_image a").click(function(){
		if($dragBln) {
			return false;
		}
	});
	
	timer = setInterval(function(){
		$("#btn_next").click();
	}, 4000); 
	
	$(".main_visual").hover(function(){
		clearInterval(timer);
	},function(){
		timer = setInterval(function(){
			$("#btn_next").click();
		},4000);
	});
	
	$(".main_image").bind("touchstart",function(){
		clearInterval(timer);
	}).bind("touchend", function(){
		timer = setInterval(function(){
			$("#btn_next").click();
		}, 4000);
	});
	
});
</script>

</head>